package com.villaday.idf.model3;

import java.util.List;

public class HashOrdersEntity {

    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"totalAmount":"0.01","total":1,"current":1,"hasNext":false,"list":[{"checkInDateTime":"11.22","checkOutDateTime":"11.23","costPrice":"0.01","customer":{"name":"测试"},"orderNo":"V191119-301725-00","product":{"name":"测试产品1","number":"RH-60742"},"state":{"code":4,"text":"待使用"},"statusText":"待使用","steps":[{"status":"success","title":"用户未付款"},{"status":"success","title":"用户已付款"},{"status":"wait","title":"定金结算"},{"status":"wait","title":"尾款结算(￥0.01)"},{"status":"wait","title":"尾款已结算"}]}]}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * totalAmount : 0.01
         * total : 1
         * current : 1
         * hasNext : false
         * list : [{"checkInDateTime":"11.22","checkOutDateTime":"11.23","costPrice":"0.01","customer":{"name":"测试"},"orderNo":"V191119-301725-00","product":{"name":"测试产品1","number":"RH-60742"},"state":{"code":4,"text":"待使用"},"statusText":"待使用","steps":[{"status":"success","title":"用户未付款"},{"status":"success","title":"用户已付款"},{"status":"wait","title":"定金结算"},{"status":"wait","title":"尾款结算(￥0.01)"},{"status":"wait","title":"尾款已结算"}]}]
         */

        private String totalAmount;
        private int total;
        private int current;
        private boolean hasNext;
        private List<ListBean> list;

        public String getTotalAmount() {
            return totalAmount;
        }

        public void setTotalAmount(String totalAmount) {
            this.totalAmount = totalAmount;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getCurrent() {
            return current;
        }

        public void setCurrent(int current) {
            this.current = current;
        }

        public boolean isHasNext() {
            return hasNext;
        }

        public void setHasNext(boolean hasNext) {
            this.hasNext = hasNext;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * checkInDateTime : 11.22
             * checkOutDateTime : 11.23
             * costPrice : 0.01
             * customer : {"name":"测试"}
             * orderNo : V191119-301725-00
             * product : {"name":"测试产品1","number":"RH-60742"}
             * state : {"code":4,"text":"待使用"}
             * statusText : 待使用
             * steps : [{"status":"success","title":"用户未付款"},{"status":"success","title":"用户已付款"},{"status":"wait","title":"定金结算"},{"status":"wait","title":"尾款结算(￥0.01)"},{"status":"wait","title":"尾款已结算"}]
             */

            private String checkInDateTime;
            private String checkOutDateTime;
            private String costPrice;
            private CustomerBean customer;
            private String orderNo;
            private ProductBean product;
            private StateBean state;
            private String statusText;
            private List<StepsBean> steps;
            private int MyType;

            public int getMyType() {
                return MyType;
            }

            public void setMyType(int myType) {
                MyType = myType;
            }

            public ListBean(int myType) {
                this.MyType = myType;
            }

            public String getCheckInDateTime() {
                return checkInDateTime;
            }

            public void setCheckInDateTime(String checkInDateTime) {
                this.checkInDateTime = checkInDateTime;
            }

            public String getCheckOutDateTime() {
                return checkOutDateTime;
            }

            public void setCheckOutDateTime(String checkOutDateTime) {
                this.checkOutDateTime = checkOutDateTime;
            }

            public String getCostPrice() {
                return costPrice;
            }

            public void setCostPrice(String costPrice) {
                this.costPrice = costPrice;
            }

            public CustomerBean getCustomer() {
                return customer;
            }

            public void setCustomer(CustomerBean customer) {
                this.customer = customer;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public ProductBean getProduct() {
                return product;
            }

            public void setProduct(ProductBean product) {
                this.product = product;
            }

            public StateBean getState() {
                return state;
            }

            public void setState(StateBean state) {
                this.state = state;
            }

            public String getStatusText() {
                return statusText;
            }

            public void setStatusText(String statusText) {
                this.statusText = statusText;
            }

            public List<StepsBean> getSteps() {
                return steps;
            }

            public void setSteps(List<StepsBean> steps) {
                this.steps = steps;
            }

            public static class CustomerBean {
                /**
                 * name : 测试
                 */

                private String name;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class ProductBean {
                /**
                 * name : 测试产品1
                 * number : RH-60742
                 */

                private String name;
                private String number;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getNumber() {
                    return number;
                }

                public void setNumber(String number) {
                    this.number = number;
                }
            }

            public static class StateBean {
                /**
                 * code : 4
                 * text : 待使用
                 */

                private int code;
                private String text;

                public int getCode() {
                    return code;
                }

                public void setCode(int code) {
                    this.code = code;
                }

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }
            }

            public static class StepsBean {
                /**
                 * status : success
                 * title : 用户未付款
                 */

                private String status;
                private String title;

                public String getStatus() {
                    return status;
                }

                public void setStatus(String status) {
                    this.status = status;
                }

                public String getTitle() {
                    return title;
                }

                public void setTitle(String title) {
                    this.title = title;
                }
            }
        }
    }
}
